﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="Taxes.Main" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/main.css" />
    <script type="text/javascript" src="Scripts/main.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        <ext:History ID="History1" runat="server">
            <Listeners>
                <Change Fn="change" />
            </Listeners>
        </ext:History>
        <ext:Viewport runat="server" Layout="border">
            <Items>
                <ext:Panel ID="pnTop" runat="server" Header="false" Region="North" Border="false" />
                <ext:Panel runat="server" Region="West" Layout="Fit" Width="240" Header="false" Collapsible="true"
                    Split="true" CollapseMode="Mini" Margins="0 0 4 4" Border="false">
                    <Items>
                        <ext:Panel ID="Panel1" runat="server" Width="250" Layout="Accordion" Split="true"
                            Region="West" Margins="5 0 5 5" DefaultBorder="false">
                            <Items>
                                <ext:MenuPanel ID="MenuPanel1" runat="server" Title="定额评估" Icon="ArrowSwitch">
                                    <Menu ID="Menu1" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="MenuItem1" Href="" runat="server" Text="定额评估" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Caculate/Assess.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                        </Items>
                                    </Menu>
                                </ext:MenuPanel>
                                <ext:MenuPanel ID="MenuPanel2" runat="server" Title="数据排序" Icon="ArrowSwitch">
                                    <Menu ID="Menu2" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="MenuItem4" runat="server" Text="按税收负担率" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'TaxesReport/Tax_loadedReport.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem5" runat="server" Text="按房产税" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'TaxesReport/Report2.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem6" runat="server" Text="按土地税" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'TaxesReport/Report3.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                        </Items>
                                    </Menu>
                                </ext:MenuPanel>
                                <ext:MenuPanel ID="MenuPanel3" runat="server" Title="数据维护" Icon="ArrowSwitch">
                                    <Menu ID="Menu3" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="MenuItem7" runat="server" Text="用户管理" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Users/UserList.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem8" runat="server" Text="楼层折算率" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'ExchangeRate/ExchangeRate.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem9" runat="server" Text="修改评估数据" Icon="ArrowRight" />
                                            <ext:MenuItem ID="MenuItem2" runat="server" Text="设定单位面积租金" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.load({ url: 'KML/UnitAreaRecent.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                             <ext:MenuItem ID="MenuItem11" runat="server" Text="行业管理" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Industory/IndustoryManager.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                             <ext:MenuItem ID="MenuItem3" runat="server" Text="征收数据导入" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Taxeses/TaxesImports.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                           <ext:MenuItem ID="MenuItem12" runat="server" Text="登记数据导入" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Caculate/RegisterImport.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem13" runat="server" Text="土地使用税地段导入" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'KML/LandUseChargeImport.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem14" runat="server" Text="房产税导入" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Caculate/LanUseChargesImport.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                            <ext:MenuItem ID="MenuItem15" runat="server" Text="土地使用税导入" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Caculate/BuildingTaxes.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                        </Items>
                                    </Menu>
                                </ext:MenuPanel>
                                <ext:MenuPanel ID="MenuPanel4" runat="server" Title="管理中心" Icon="ArrowSwitch">
                                    <Menu ID="Menu4" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="MenuItem10" Href="" runat="server" Text="修改密码" Icon="ArrowRight">
                                                <Listeners>
                                                    <Click Handler="tabHome.setTitle(this.text,'icon-application');tabHome.load({ url: 'Users/ChangePwd.aspx', scripts: true });" />
                                                </Listeners>
                                            </ext:MenuItem>
                                        </Items>
                                    </Menu>
                                </ext:MenuPanel>
                            </Items>
                        </ext:Panel>
                    </Items>
                </ext:Panel>
                <ext:TabPanel ID="ExampleTabs" runat="server" Region="Center" EnableTabScroll="true"
                    MinTabWidth="85">
                    <Items>
                        <ext:Panel ID="tabHome" runat="server" Title="定额评估" IconCls="icon-application">
                            <AutoLoad Url="Caculate/Assess.aspx" Mode="IFrame" NoCache="true">
                            </AutoLoad>
                        </ext:Panel>
                    </Items>
                </ext:TabPanel>
            </Items>
        </ext:Viewport>
    </div>
    </form>
</body>
</html>
